Repository navigation
docs(self-hosting): check every EKS Pod Identity association before the install - #343
Conversation
…he install Step 6 of Install on EKS gets a ServiceAccount -> needed access table (worker and session-ingest-api: S3 read/write; search-indexer: S3 read and OpenSearch write; session-read: S3 read and OpenSearch read) and a loop that prints ok or MISSING for each, with the create-pod-identity-association command for a missing one. Terraform (step 4) already creates all of them; the check catches roles a team created itself, where the worker is the easy one to miss and only shows up later as "no Locker credentials" in the session summary worker. Troubleshooting gets that symptom as a row. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Composal Verify · PR #343Warning This request is merged; previous verification results remain in the history. No high-confidence scenario matches were found; no preview or browser run is needed Diff assessment: Updates browser-rendered self-hosting documentation with EKS Pod Identity checks, remediation commands, a ServiceAccount table, and a troubleshooting entry for missing worker credentials. Why no scenarios were selectedNo saved scenario matched this change. Recent verification history
|
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 49 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
There was a problem hiding this comment.
🔍 Devin Review: 3 flags
Not posted on this PR by your GitHub settings — view them in Devin Review. (Configure)
|
Preview deployed!
This is a Cloudflare Workers preview version of this PR's build. |
What
Install on EKS, step 6, gets a Pod Identity check after the settings check, which both the Terraform path and the bring-your-own-AWS path run:
agent-relay)agent-relay-workeragent-relay-session-ingest-apiagent-relay-search-indexeragent-relay-session-readDone when four lines start with
ok. For aMISSINGline, the guide gives theaws eks create-pod-identity-associationcommand and which role to use; the agent block asks the human first, since that changes IAM. Troubleshooting gets ano Locker credentialsrow.Why
In the EKS rehearsal on 2026-11-26, the team had created its own roles for alleyoop, session-ingest-api, the search indexer and session-read, but had no association for
agent-relay-worker. Nothing failed until much later, when the session summary worker loggedno Locker credentials: set LOCKER_ACCESS_KEY_ID/LOCKER_SECRET_ACCESS_KEY, or run with EKS Pod Identity. The Terraform in step 4 already creates all five associations, and IAM and Pod Identity documents them. The gap was that the guide never checked them.agent-relay-alleyoopis left out of the loop: thevalues-eks-native.yamlprofile this guide installs doesn't render it (checked by rendering chart 0.7.54). The guide says its association is harmless.Dependencies
None: this uses only the
awsCLI. The matching diagnostic check, which compares associations against the ServiceAccounts the release actually renders and prints the exact create line, is AgentWorkforce/infra#558.Tests
vitest run lib/test/selfhost-docs.test.ts lib/test/selfhost-docs-page.test.tsx: 24 passed.🤖 Generated with Claude Code
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.Summary by cubic
Adds a check in step 6 of Install on EKS that verifies every ServiceAccount has its Pod Identity association before the install proceeds.
The check lists the four ServiceAccounts, their access needs, and the role each uses, then runs
aws eks list-pod-identity-associationsfor each and printsokorMISSING. A missing association can go unnoticed until much later, like theagent-relay-workercase, which only surfaces asno Locker credentialsin session summary worker logs. For missing associations, the guide provides thecreate-pod-identity-associationcommand with the role to use, and the agent block asks the human before running it since it changes IAM. Troubleshooting gets ano Locker credentialsrow explaining the cause and fix.Written for commit cd14a96. Summary will update on new commits.